package com.zzyl.nursing.service;

import java.util.List;

import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.DeviceData;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDataPageReqDto;
import com.zzyl.nursing.task.vo.IotMsgNotifyData;

/**
 * deviceDataService接口
 * 
 * @author jby
 * @date 2025-08-23
 */
public interface IDeviceDataService extends IService<DeviceData>
{
    /**
     * 查询deviceData
     * 
     * @param id deviceData主键
     * @return deviceData
     */
    public DeviceData selectDeviceDataById(Long id);

    /**
     * 查询deviceData列表
     * 
     * @param deviceDataPageReqDto deviceData
     * @return deviceData集合
     */
    public TableDataInfo<DeviceData> selectDeviceDataList(DeviceDataPageReqDto deviceDataPageReqDto);

    /**
     * 新增deviceData
     * 
     * @param deviceData deviceData
     * @return 结果
     */
    public int insertDeviceData(DeviceData deviceData);

    /**
     * 修改deviceData
     * 
     * @param deviceData deviceData
     * @return 结果
     */
    public int updateDeviceData(DeviceData deviceData);

    /**
     * 批量删除deviceData
     * 
     * @param ids 需要删除的deviceData主键集合
     * @return 结果
     */
    public int deleteDeviceDataByIds(Long[] ids);

    /**
     * 删除deviceData信息
     * 
     * @param id deviceData主键
     * @return 结果
     */
    public int deleteDeviceDataById(Long id);

    /**
     * 批量保存设备数据
     * @param iotMsgNotifyData
     * @return
     */
    void batchInsertDeviceData(IotMsgNotifyData iotMsgNotifyData);
}
